#!/usr/bin/python3
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*-

import os
import glob
from common_python import check_package_installed


check_package_installed({
    "gentoo": [
        "net-misc/pservers",
    ],
})

for fullfn in glob.glob("/etc/pservers/*.server"):
    print(fullfn)
print("/var/lib/pservers")
print("/var/log/pservers/***")

for fullfn in glob.glob("/etc/pservers/*.server"):
    pluginName = os.path.basename(fullfn)[:len(".server")*-1]
    print("/var/lib/pservers/%s/***" % (pluginName))
